package com.tianhui.consignortwofei.pattern.orderOprate.impl;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;

import com.tianhui.consignortwofei.constant.KeyValue;
import com.tianhui.consignortwofei.mvp.model.enty.OrderOperateInfo;
import com.tianhui.consignortwofei.mvp.ui.activity.PaymentListActivity;
import com.tianhui.consignortwofei.pattern.orderOprate.IOrderOperate;

/**
 * @author fgs
 * @date 2020/9/9
 * @description 运费计算详情界面付款申请
 **/
public class PaymentOperate implements IOrderOperate {
    @Override
    public void orderOperate(Context context, OrderOperateInfo operateInfo) {
        Intent intent = new Intent(context, PaymentListActivity.class);
        Bundle bundle = new Bundle();
        bundle.putString(KeyValue.KEY_DISPATCH_NO,operateInfo.orderInfo.dispatchno);
        intent.putExtras(bundle);
        context.startActivity(intent);
    }
}
